<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			function fn(){
			    console.log(this.name)
			    
			}
			
			
			
			let a = {
				name:"a"
			}
			let b = {
				name:"b"
			}
			let c = {
				name:"c"
			}
			
			
			fn.call(a,1,2)
			fn.apply(b,[])
			
			
			let fn1 = fn.bind(c)
			console.log(fn1)
			b.fn = fn1
			fn1()
			b.fn()
		</script>
	</body>
</html>
